<template>
  <div class="bigLeft" @click="onClick">
    <div class="bg">
      <div class="title d-flex">
        <span class="text">认证渠道</span>
        <div class="line">
          <dv-decoration-3 class="dv-dec-3" />
        </div>
      </div>
      <dv-decoration-2 class="line2"/>
      <div class="d-grid">
        <div class="rzList " v-for="(item, i) in data" :key="i">
          <div>
            <p class="name">{{item.name}}</p>
            <p class="val">{{item.value}}</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'bigLeft2',
    props: {
      data: {
        type: Array,
        default: () => []
      }
    },
    data () {
      return {
      }
    },
    methods: {
      onClick () {
        this.$emit('on-click')
      }
    }
  }
</script>

<style scoped lang="less">
  .bigLeft {
    width: 100%; height: 100%; padding:14px; cursor: pointer;
    .bg {border-radius: 12px; background: rgba(35,62,249,0.2); height: 100%; padding: 10px}
    .title { position: relative;
      .text {
        color: #e4ebfb;
        font-size: 20px;
      }
      .line {
        width: 100px; height: 30px; margin-left: 10px;
        .dv-dec-3 {
          position: relative;
          width: 100%;
          height: 100%;
        }
      }
    }
    .line2 {width:100%;height:5px;margin-top: 6px}
    .rzList {
      /*width: 50%;*/
      padding: 12px 0;
      border-bottom: 1px solid #2b4eca;
      div{
        height: 58px;
        background-image: url("~@/assets/img/icon.png");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: contain;
        display: flex;
        flex-flow: column;
        align-items: flex-start;
        justify-content: space-evenly; color: #fff;
        .name {
          font-size: 15px;
          padding-left: 70px; margin-bottom: 0;
        }
        .val {
          font-size: 18px;
          color: #ffa01f;
          padding-left: 70px;margin-bottom: 0;
        }
      }
    }
  }
  .d-flex { display: flex; }
  .d-grid { display: grid; padding-top: 4px;
    grid-template-columns: 1fr 1fr;
    align-items: center;}
</style>
